<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <title></title>
    <link href="libs/weui/weuix.min.css" rel="stylesheet" />
    <link href="libs/swipe/swiper.min.css" rel="stylesheet" />
    <link href="css/common.css" rel="stylesheet"/>
    <link href="css/my.css" rel="stylesheet" />
    <title></title>
</head>
<body class="page-bg">
<input type="hidden" value="" id="type" />
<input type="hidden" id="totalPage" value=""/>
    <div class="weui_tab tab-bottom">
    <div class="my-header"></div>
    <div class="weui_tab_bd">

    </div>
        <div class="weui_tabbar" id="nav_bar" index="4"></div>

    </div>
    <script type="text/html" id="user_head_tpl">
    <div class="hd">
        <div id="{{id}}" class="weui-avatar-circle"><img class="weui-avatar-url" src="{{avatar}}" alt=""></div>
        <span class="name">{{name}}</span>
    </div>
    <div class="bd my-tab">
        <div class="item weui-border-r on" data-type="1">
            <a href="javascript:;">
                <i>{{productCount<99?productCount:"99+"}}</i>
                <span>商品</span>
            </a>
        </div>
        <div class="item weui-border-r" data-type="2">
            <a href="javascript:;">
                <i>{{infoCount<99?infoCount:"99+"}}</i>
                <span>资讯</span>
            </a>
        </div>
        <div class="item weui-border-r" data-type="3">
            <a href="javascript:;">
                <i>{{feedbackCount<99?feedbackCount:"99+"}}</i>
                <span>反馈</span>
            </a>
        </div>
        <div class="item weui-border-r" data-type="4">
            <a href="javascript:;">
                <i class="icon icon-fav"></i>
                <span>收藏</span>
            </a>
        </div>
        <div class="item weui-border-r">
            <a id="setbtn" href="set.html">
                <i class="icon icon-set"></i>
                <span>设置</span>
            </a>
        </div>
        <div class="item">
            <a href="publish.html">
                <i class="icon icon-add"></i>
                <span>发布</span>
            </a>
        </div>
    </div>
</script>
<script type="text/html" id="nav_bar_tpl">
    {{each list value index}}
    <a href="{{list[index].url}}" class="weui_tabbar_item">
        <div class="weui_tabbar_icon">
            <img class="def" src="imgs/{{list[index].enName}}-icon.png" alt="{{list[index].zh}}">
            <img class="over" src="imgs/{{list[index].enName}}-icon-over.png" alt="{{list[index].zh}}">
        </div>
        <p class="weui_tabbar_label">{{list[index].zh}}</p>
    </a>
    {{/each}}
</script>
<script id="time_tpl" type="text/html">
    {{time | dateFormat:'yyyy-MM-dd'}}
</script>
<script type="text/html" id="my_feedback_tpl">
    <div class="my_list my_feedback">
        {{each result value a}}
        <div class="my_list_item" feedbackid="{{result[a].id}}">
            {{if result[a].images[0]}}
            <div class="img img-max">
                <img src="{{result[a].images[0].smallUrl}}" alt=""/>
            </div>
            {{/if}}
            <div class="r-infos">
                <h4><span class="date">{{result[a].createdTime | dateFormat 'yyyy-MM-dd'}}</span></h4>
                <p class="weui_media_desc">{{result[a].message}}</p>
                <p class="right"><a class="btn-feedback-del weui_btn weui_btn_default weui_btn_mini">删除</a></p>
            </div>
        </div>
        {{/each}}
    </div>
</script>
<script type="text/html" id="my_list_tpl">
    <div class="my_list my_pros">
        {{each result value j}}
        {{if result[j].status===1}}
            <div class="my_list_item nopass" myprosid="{{result[j].id}}">
        {{else}}
            <div class="my_list_item" myprosid="{{result[j].id}}">
        {{/if}}
            <div class="img img-max">
                {{if result[j].images.length>0}}
                <a {{if result[j].status===1}} {{else}} href="detail.html?id={{result[j].id}}" {{/if}}> <img src="{{result[j].images[0].smallUrl}}" alt=""/></a>
                {{/if}}
            </div>
            <div class="r-infos">
                <h4><strong>{{result[j].categoryName}} - {{result[j].type==1?"商家":"个人"}}</strong><span class="price">￥{{result[j].price}}</span></h4>
                <p class="weui_media_desc">{{result[j].desc}}</p>
                {{if result[j].status===1}}
                <span class="status_01 right">审核中</span>
                {{else if result[j].status==-1}}
                <span class="status_03">驳回,请编辑提交！</span>
                <p class="right"><a class="btn-pros-edit weui_btn weui_btn_mini weui_btn_default mr5">编辑</a><a class="btn-pros-del weui_btn weui_btn_default weui_btn_mini">删除</a></p>
                {{else}}
                <p class="right"><a class="btn-pros-edit weui_btn weui_btn_mini weui_btn_default mr5">编辑</a><a class="btn-pros-del weui_btn weui_btn_default weui_btn_mini">删除</a></p>
                {{/if}}
            </div>
        </div>
        {{/each}}
    </div>
</script>
<script type="text/html" id="my_news_tpl">
    <div class="my_list my_news">
        {{each result value k}}
        {{if result[k].status==1}}
        <div class="my_list_item nopass" newsid="{{result[k].id}}">
        {{else}}
        <div class="my_list_item" newsid="{{result[k].id}}">
        {{/if}}
            <div class="img img-max">
                {{if result[k].images.length>0}}
                <a {{if result[k].status===1}} {{else}} href="detail.html?id={{result[k].id}}" {{/if}}><img src="{{result[k].images[0].smallUrl}}" alt=""/></a>
                {{else}}
                <img src="" alt=""/>
                {{/if}}
            </div>
            <div class="r-infos">
                <h4><strong>{{result[k].categoryName}} - {{result[k].type==1?"商家":"个人"}}</strong><span class="price">￥{{result[k].price}}</span></h4>
                <p class="weui_media_desc">{{result[k].desc}}</p>
                {{if result[k].status==1}}
                <span class="status_01 right">审核中</span>
                {{else if result[k].status==-1}}
                <span class="status_03">驳回,请编辑提交！</span>
                <p class="right"><a class="btn-news-edit weui_btn weui_btn_mini weui_btn_default mr5">编辑</a><a class="btn-news-del weui_btn weui_btn_default weui_btn_mini">删除</a></p>
                {{else if result[k].status==2}}
                <p class="right"><a class="btn-news-edit weui_btn weui_btn_mini weui_btn_default mr5">编辑</a><a class="btn-news-del weui_btn weui_btn_default weui_btn_mini">删除</a></p>
                {{/if}}
            </div>
        </div>
        {{/each}}
    </div>
</script>
<script type="text/html" id="my_fav_tpl">
    <div class="my_list my_favs">
        {{each result value index}}
        <div class="fav-item" categoryid="{{result[index].id}}">
            <div class="fav-head">
                <div class="title">{{result[index].categoryName}} - {{result[index].type==1?"商家":"个人"}}</div>
                <span class="fr">￥{{result[index].price}}</span>
            </div>
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    {{each result[index].images value j}}
                    <div class="swiper-slide">
                        <a href="detail.html?id={{result[index].id}}"><img data-img="{{result[index].images[j].smallUrl}}" src="{{result[index].images[j].smallUrl}}" /></a>
                    </div>
                    {{/each}}
                </div>
            </div>
            <div class="des-info">
                {{result[index].desc}}
            </div>
            <p class="right"><a class="btn-fav-del weui_btn weui_btn_default weui_btn_mini">删除</a></p>
        </div>
        {{/each}}
    </div>
</script>
</body>

<script type="text/javascript" src="libs/zepto/zepto.min.js"></script>
<script type="text/javascript" src="libs/zepto/zepto.cookie.min.js"></script>
<script type="text/javascript" src="libs/swipe/swiper.min.js"></script>
<script type="text/javascript" src="libs/artTemplate/template.js"></script>
<script type="text/javascript" src="components/template.js" ></script>
<script type="text/javascript" src="libs/common/lazyimg.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="components/my.js" ></script>

</html>